
const menu = {
    namespaced: true,
    state: {
        list: []
    },
    mutations: {
        SET_LIST (state, val) {
            state.list = val
        }
    },
    getters:{
        getMenuList(state){
            return  state.list.filter(v=>v.postion==='left')
        }
    }
}

export default menu